# -*- coding: UTF-8 -*-
"""
@author: tgy
@file: delegate.py
@time: 2021/01/31
"""

import json


class Wrapper:
    def __init__(self,wrapper):
        self.wrapper = wrapper

    def __getattr__(self, item):
        print(item)
        return getattr(self.wrapper,item)


def test01():
    ...
    obj = Wrapper([1,2,3])
    obj.append(1)
    print(obj.wrapper)


def json_test():
    print(json.__name__)

if __name__ == '__main__':
    pass
    # test01()
    l = list()
    l.aa = 10
